﻿using EPiServer.Core;
using PageTypeBuilder;
using SocialPack.Composer.PageTypes.Tabs;

namespace SocialPack.Composer.PageTypes.Twitter
{
    [PageType("3747eb74-45f5-4c6c-9e84-bdb5219bb054", Filename = "/modules/socialpack/composer/functions/twitter/tweetbutton.ascx", AvailableInEditMode = false, Name = "[Twitter] Tweet Button", Description = "Twitter Tweet Button")]
    public class TweetButton : FunctionBase
    {
        [PageTypeProperty(Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string Language { get; set; }

        [PageTypeProperty(Tab = typeof(ComposerTab), EditCaption = "Twitter Name", Type = typeof(PropertyString))]
        public virtual string TwitterName { get; set; }

        [PageTypeProperty(Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string Text { get; set; }
    }
}